<?php
/**
 * @page module_system %Module System
 * 
 * 'Content blocks' or 'modules' allows you to place your desired content on various sections of 
 * the website at any page you want. Its a great tool to provide your website a great flexibility.
 * The image below shows you different type of modules in use:
 * 
 * @image html module_overview.jpg
 * 
 * Before you start using the module system you should also know about 'sections'. A section is any visible
 * are on the website layout where module can show up. In other words, a section is any specific space 
 * on your site. There can be different sections as per different themes, say "Left Sidebar", "Right Sidebar",
 * "Header", "Footer", etc. 
 * 
 * @image html section_overview.jpg "Section Placements"
 * 
 * To create new sections on your design, refer to @ref creating_sections.
 * 
 * There are various modules like this which are available to be placed anywhere across your website. Here's
 * the list of all available modules in Crowd Vox:
 * 
 * Application Modules
 * 
 * @li @subpage category_dropdown_module
 * @li @subpage category_list_module
 * @li @subpage dynamic_page_link_module
 * @li @subpage filter_module
 * @li @subpage map_module
 * @li @subpage range_list_module
 * @li @subpage search_module
 * @li @subpage simple_content_module
 * @li @subpage tabbed_content_module
 * 
 * Core Modules
 * 
 * @li @subpage ad_module
 * @li @subpage html_module
 * @li @subpage newsletter_module
 * @li @subpage tag_module
 * @li @subpage user_login_box_module
 * 
 * These are the basics of our module system. You should now see how to control the visibility 
 * 
 * 
 * @section creating_sections Creating a new section
 * 
 * By default, your website will have these sections available: 
 * 'Left Sidebar', 'Right Sidebar', 'Top', 'Bottom'
 * 
 * To add a new section of your choice, you will need to:
 * 
 * 1. Define the section in configuration: If you're using default theme,
 *  Open file /app/config/ext_config.php otherwise /app/webroot/themed/-your-theme-name-/theme_config.php
 *   and write this code at the end (if not there already):
 *  
 *  @code
 *  $blocks = array('left_sidebar', 'right_sidebar', 'top', 'bottom');
 *	Configure::write('availableBlocks', $blocks);
 *  @endcode
 *  
 *  Now lets say you want to add a section named 'footer' (make sure that 
 *  section contains no spaces or upper case characters), simply add the section name at the end of
 *  PHP array like this:
 *  
 *  @code
 *  $blocks = array('left_sidebar', 'right_sidebar', 'top', 'bottom', 'footer');
 *	Configure::write('availableBlocks', $blocks);
 *  @endcode
 *  
 * 2. Place the code in necessary template file
 */
$blocks = array('sidebar', 'header','debugInfo','footer','adminDashboard');
Configure::write('availableBlocks', $blocks);

//Configure::write('cmsConfig.Module.editor','0');

?>